package org.luo.iot.domain.device;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class Device {
    @TableId(type = IdType.AUTO)
    private int id;
    @Schema(description = "设备名称")
    private String name;
    @Schema(description = "设备号")
    private String serialNo;
    @Schema(description = "设备价格")
    private int price;
    @Schema(description = "设备状态")
    private DeviceStatus status;
}
